/*!
Copyright (c) REBUILD <https://getrebuild.com/> and/or its owners. All rights reserved.

rebuild is dual-licensed under commercial and open source licenses (GPLv3).
See LICENSE and COMMERCIAL in the project root for license information.
*/



.timeline.timeline-spare {
  max-width: 2000px;
  padding-bottom: 0;
  margin-bottom: 20px;
}

.timeline.timeline-spare form.simple {
  max-width: 2000px;
}

.timeline.timeline-spare form.simple .col-form-label {
  max-width: 180px;
}

.timeline.timeline-spare form.simple input.form-control-sm,
.timeline.timeline-spare form.simple select.form-control-sm,
.timeline.timeline-spare form.simple .select2 {
  max-width: 485px;
}

.timeline.timeline-spare .timeline-content {
  padding: 0;
}

.timeline.timeline-spare .timeline-content {
  box-shadow: 0 0 0 #fff;
}

.timeline-content > form.simple > .form-group:first-child {
  padding-top: 25px;
}

.timeline.timeline-spare .timeline-item {
  margin-bottom: 10px;
}

.timeline.timeline-spare .timeline-item {
  padding-left: 190px;
}

.timeline.timeline-spare .timeline-item.last {
  margin-bottom: 0;
}

.timeline.timeline-spare .timeline-item.last::before {
  display: none;
}

.J_startHour1 + .input-group-append > .input-group-text {
  border-right: 0 none;
  border-radius: 0;
}

#react-content {
  background-color: #f7f7f7;
  border-radius: 3px;
  padding: 20px;
}

#react-content > div {
  max-width: 1000px;
}

.field-aggregation p {
  margin: 3px 0 0;
  color: #777;
  font-size: 12px;
}

.field-aggregation .col-2 {
  position: relative;
}

.field-aggregation .col-2 > .zmdi,
.field-writeback .col-5 > .zmdi,
.group-aggregation .col-5 > .zmdi,
.group-fields .col-5 > .zmdi {
  position: absolute;
  left: -5px;
  color: #fbbc05;
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: bold;
}

.field-aggregation .items {
  margin-bottom: 9px;
}

.field-aggregation .items:empty {
  margin-bottom: 0;
}

.field-aggregation .items > div {
  padding: 3px 0;
}

.field-aggregation .items > div .badge,
.group-aggregation .badge-primary,
.group-fields .badge-primary {
  font-weight: normal;
  font-size: 1rem;
  padding: 3px 10px;
  white-space: normal;
  text-align: left;
}

.field-aggregation .items > div .badge.badge-light {
  line-height: 1.396;
}

.field-aggregation .items > div .col-2 > .zmdi {
  margin-top: 6px;
}

.field-aggregation .items .del-wrap {
  position: relative;
}

.field-aggregation .items .del-wrap a.del,
.field-aggregation .items .del-wrap a.edit-code {
  position: absolute;
  font-size: 1.2rem;
  padding: 3px 6px;
  color: #999;
  font-weight: bold;
  top: 1px;
  display: none;
}

.field-aggregation .items .del-wrap a.del:hover,
.field-aggregation .items .del-wrap a.edit-code:hover {
  opacity: 0.8;
}

.field-aggregation .items > div:hover a.del,
.field-aggregation .items > div:hover a.edit-code {
  display: inline-block;
}

.field-aggregation .items .del-wrap a.edit-code {
  right: 14px;
  font-size: 1rem;
}

.group-aggregation .col-5 > .zmdi,
.group-fields .col-5 > .zmdi {
  color: #4285f4;
  font-size: 1.25rem;
}

.group-aggregation .col-5 > .zmdi.mdi,
.group-fields .col-5 > .zmdi.mdi {
  left: -7px;
}

.group-aggregation .items > div .col-5 > .zmdi,
.group-fields .items > div .col-5 > .zmdi {
  margin-top: 5px;
}

.group-aggregation .badge-primary,
.group-fields .badge-primary {
  border-radius: 0;
  position: relative;
}

.group-aggregation .badge-primary::after,
.group-fields .badge-primary::after {
  position: absolute;
  width: 0;
  height: 0;
  content: '';
  transform: rotate(45deg);
  border: 4px solid #f7f7f7;
  top: -4px;
  right: -4px;
}



.formula-calc {
  position: relative;
}

.formula-calc .fields ul:empty::after {
  content: attr(_title);
  color: #999;
}

.formula-calc ul li {
  width: 23%;
  display: inline-block;
  font-size: 0;
  padding: 0;
  margin: 1% !important;
}

.formula-calc ul li > a {
  display: inline-block;
  width: 100%;
  padding: 6px 5px;
  font-weight: bold;
  text-align: center;
  background-color: #eee;
  border-radius: 2px;
  font-size: 1rem;
}

.formula-calc ul li > a:hover {
  background-color: #ccc;
}

.formula-calc .numbers li > a:active {
  box-shadow: inset 3px 3px 3px rgba(0, 0, 0, 0.06);
}

.formula-calc ul li.empty-1 > a {
  background-color: #eee !important;
  cursor: default !important;
}

.formula-calc ul li > a.confirm {
  background-color: #4c8bf5;
  color: #fff !important;
}

.formula-calc ul li > a[data-toggle]::after {
  content: '\f2f9';
  font-family: 'Material-Design-Iconic-Font', serif;
  margin-left: 2px;
}

.formula-calc .fields {
  max-height: 186px;
  margin-top: 1px;
}

.formula-calc .fields ul li {
  width: 100%;
  margin: 1% 0 !important;
}

.formula-calc .fields ul li > a {
  font-weight: normal;
  text-align: left;
  padding-left: 10px;
}

.formula-calc .numbers {
  margin-right: -1.1%;
}

.form-control-plaintext {
  min-height: 37px !important;
}

.form-control-plaintext.formula {
  border: 1px dotted #4c8bf5 !important;
  border-radius: 4px;
  background-color: #fff;
  padding: 8px 10px;
  cursor: text;
}

.form-control-plaintext.formula:empty::after {
  content: attr(_title);
  color: #878787;
}

.form-control-plaintext.formula i {
  font-style: normal;
}

.form-control-plaintext.formula > .oper {
  padding: 0 4px;
}

.form-control-plaintext.formula > .oper + .oper {
  padding-left: 0;
}

.form-control-plaintext.formula > .field {
  border-radius: 2px;
  padding: 1px 2px;
}

.form-control-plaintext.formula > .field.hover:hover {
  cursor: pointer;
  background-color: #4c8bf5;
  color: #fff;
}

.form-control-plaintext.formula > .field > i::after {
  content: '\f2f9';
  font-family: 'Material-Design-Iconic-Font', serif;
  margin-left: 2px;
  color: #4c8bf5;
}

.form-control-plaintext.formula > .field.hover:hover > i::after {
  color: #fff;
}

.form-control-plaintext.formula > .v.field {
  color: #4c8bf5;
}

.form-control-plaintext.formula > .v.num {
  color: #df5000;
}

.dropdown-menu.dropdown-menu-sm {
  min-width: 120px;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1), 0 10px 12px 0 rgba(170, 182, 206, 0.36);
  border-radius: 0;
  padding: 3px 0;
  z-index: 1000;
}

.dropdown-menu.dropdown-menu-sm .dropdown-item {
  padding: 6px 14px;
  cursor: default;
}

.dropdown-menu.dropdown-menu-sm .dropdown-divider {
  margin: 3px 0;
}

.form-control-plaintext.formula.switch-code {
  padding-right: 40px;
}

.form-control-plaintext.formula.switch-code + .switch-code-btn {
  position: absolute;
  right: 3px;
  top: 3px;
  display: inline-block;
  width: 31px;
  height: 31px;
  line-height: 32px;
  text-align: center;
  font-size: 1.3rem;
  color: #212121;
  border-radius: 4px;
  transition: all 0.4s;
}

.form-control-plaintext.formula.switch-code + .switch-code-btn:hover {
  background-color: #212121;
  color: #fff;
}

textarea.formula-code + .fields-vars {
  bottom: 21px;
}

.auto-assign .select2-selection__rendered,
.auto-share .select2-selection__rendered {
  display: block !important;
  padding: 0 8px !important;
}

.J_when label.custom-control {
  min-width: 130px;
}

.on-timers {
  padding: 15px 26px 20px;
  border-radius: 2px;
  border: 1px solid #eee;
  font-size: 1rem;
}

.on-timers input,
.on-timers select {
  width: 60px;
  padding: 3px;
  border: 0 none;
  border-bottom: 1px solid #ccc;
  text-align: center;
  appearance: none;
  outline: none;
  background-color: #fff;
}

.on-timers input:focus,
.on-timers select:focus {
  border-color: #4285f4;
}

.code-panel {
  border: 0;
  padding: 20px;
  margin-bottom: 0;
  max-height: 400px;
  overflow: auto;
}

.code-panel,
.code-panel pre {
  background-color: #4f4a68;
  color: #edebe6;
}

.dropdown-item > em,
.fields ul li.flag-DECIMAL > a::before,
.fields ul li.flag-NUMBER > a::before,
.fields ul li.flag-DATE > a::before,
.fields ul li.flag-DATETIME > a::before,
.fields ul li.flag-TIME > a::before {
  content: '#';
  width: 15px;
  display: inline-block;
  color: #4285f4;
  font-size: 0.9rem;
  font-style: normal;
}

.fields ul li.flag-DECIMAL > a::before,
.fields ul li.flag-NUMBER > a::before {
  content: 'N';
}

.fields ul li.flag-DATE > a::before,
.fields ul li.flag-DATETIME > a::before,
.fields ul li.flag-TIME > a::before {
  content: 'D';
}

.badge.badge-square {
  border: 0 none;
  background-color: #4285f4;
  position: relative;
  color: #fff;
  font-size: 1rem;
  font-weight: normal;
  border-radius: 0;
  padding: 2px 8px;
}

.badge.badge-square::before {
  position: absolute;
  width: 0;
  height: 0;
  content: '';
  transform: rotate(45deg);
  border: 4px solid #f7f7f7;
  top: -4px;
  right: -4px;
}

.badge.badge-close {
  padding-right: 20px;
}

.badge.badge-close a.close {
  position: absolute;
  font-size: 1rem;
  font-weight: normal;
  opacity: 0.8;
  margin-left: 4px;
  margin-top: 3px;
  text-shadow: unset;
  display: none;
}

.badge.badge-close:hover a.close {
  display: inline-block;
}

.badge.badge-close a.close:hover {
  opacity: 1;
}


.select2-selection.select2-selection--multiple ul.select2-selection__rendered {
  display: block;
}

.when-update a,
.when-approve a {
  color: #4285f4 !important;
  display: none;
}

.when-update:hover a,
.when-approve:hover a {
  display: inline-block;
}

.when-update a:hover,
.when-approve a:hover {
  color: #0d5bdd !important;
}

@media (max-width: 1280px) {
  .timeline-date {
    width: 95px;
  }
  .timeline.timeline-spare .timeline-item {
    padding-left: 140px;
  }
  .timeline::before {
    left: 120px;
  }
  .timeline-item::before {
    left: 112px;
  }
}

.textarea-wrap {
  position: relative;
}

.textarea-wrap > .fields-vars {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: inline-block;
  font-size: 1.3rem;
  line-height: 1;
  padding: 4px 3px 2px;
  border-radius: 4px;
  background-color: #212121;
  opacity: 0.4;
  transition: opacity 0.4s;
}

.textarea-wrap:hover > .fields-vars {
  opacity: 1;
}

.textarea-wrap > .fields-vars > .mdi {
  color: rgba(255, 255, 255, 0.8);
}

.textarea-wrap > .fields-vars:hover > .mdi {
  color: rgba(255, 255, 255, 1);
}

.textarea-wrap textarea {
  min-height: 72px;
  font-size: 1rem;
  padding: 4px 10px;
}

.eval-exec-times .alert {
  margin-top: 15px;
  margin-bottom: 0;
  width: auto;
}

.tech-details {
  margin: 1px 0 0;
  font-size: 12px;
  padding: 4px 10px;
  border-left: 4px solid #e0e0e0;
}

.auto-gen-report .dist-tips .alert {
  width: auto;
  margin-bottom: 0;
}

.v36-logdesc > .badge {
  font-size: 12px;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 1px;
}

.table.table-logs p {
  margin: 0;
  line-height: 1.4;
}

.table.table-logs p.text-overflow {
  max-height: 295px;
}

.send-notification select,
.send-notification .select2 {
  max-width: 100% !important;
}

.create-task .user-selector,
.create-task .form-control {
  max-width: 100% !important;
}

.dest-tips {
  background-color: #eee;
  padding: 20px;
  border-radius: 3px;
  margin-top: 10px;
}
